def _get_key(class_reference, property_name):
    """Get the key for the given class and property name."""

    try:
        return class_reference.__deserialize_key_map__.get(property_name, property_name)
    except AttributeError:
        return property_name