@staticmethod
def get_db_attributes(tag):
    """
        Given an <a> tag that we've identified as a page link embed (because it has a
        data-linktype="link" attribute), return a dict of the attributes we should
        have on the resulting <a linktype="link"> element.

        :param tag: the tag dictionary.
        :rtype: dict.
        """
    return {'id': tag['data-id']}
