def METHOD_NAME(cls, identifier, name):
    if ("Juvenile" in identifier or "Picture Book" in identifier
        or "Beginning Reader" in identifier or "Children's" in identifier):
        return cls.AUDIENCE_CHILDREN
    elif "Young Adult" in identifier:
        return cls.AUDIENCE_YOUNG_ADULT
    elif identifier in ('Fiction', 'Nonfiction'):
        return cls.AUDIENCE_ADULT
    elif identifier == 'Erotic Literature':
        return cls.AUDIENCE_ADULTS_ONLY
    return None