The Reference field in messages is a free form text field. When text is entered in this field it is automatically added into the system when the message is sent.