@staticmethod
def name_message_tuple_from_tag_ref(tag):
    """Convert a tag reference to a (name, message) tuple

        :param tag: tag reference
        :return: (name, message) tuple
        """
    return (tag.name, tag.tag.message if tag.tag else None) if tag else None
