@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="page" attribute), return a dict of the attributes we should
        have on the resulting <a linktype="page"> element.
        """
    return {'id': tag['data-id']}
