Identification of messages and their relative priority