def extract_internal_id(oai_identifier):
    """
    Extract the internal identifier from the full tag identifier from the OAI request

    :param oai_identifier: the full OAI identifier for a record
    :return: the internal identifier
    """
    # most of the identifier is for show - we only care about the hex string at the end
    return oai_identifier.split(":")[-1]