def METHOD_NAME(record, oatype):
    """Original original identifier."""
    prefix = current_app.config['OPENAIRE_NAMESPACE_PREFIXES'].get(oatype)
    value = None
    if oatype == _OAType.publication or oatype == _OAType.software or \
        oatype == _OAType.other:
        value = record.get('_oai', {}).get('id')
    elif oatype == _OAType.dataset:
        value = record.get('doi')
    return prefix, value