Adding Message#message_object_id

I am writing the message_object_id to the database as this is also
being written to the logger.