def METHOD_NAME(obj, key, repr_anon=None):
    repr_anon = repr_anon or repr_anon_term
    return ' | '.join(
            it.get('@id', '').replace(IDKBSE_TERM, '') or repr_anon(it, owner=obj)
            for it in obj.get(key, []))