def _source(name, field):
    """Translate field name to instance source name with respect to source=*.

    .. deprecated::
        This function will be removed in 1.0.0.
    """
    if field.source == '*':
        return name
    else:
        return field.source or name
