def get_contrib_ids(contrib_element):
    """Get the ids for a single contributor from their accompanying <contrib> element.
    This will mostly get ORCID IDs, and indicate whetherh they are authenticated.
    For more information of ORCIDs, see https://orcid.org/
    :param contrib_element: An article XML element with the tag <contrib>
    :return: list of dictionaries of ids for that contributor
    """
    id_list = []
    for item in contrib_element.getchildren():
        if item.tag == 'contrib-id':
            contrib_id_type = item.attrib.get('contrib-id-type', None)
            contrib_id = item.text
            contrib_authenticated = item.attrib.get('authenticated', None)
            id_dict = dict(id_type=contrib_id_type,
                           id=contrib_id,
                           authenticated=contrib_authenticated
                           )
            id_list.append(id_dict)

    return id_list