@sportsref.decorators.memoize<EOL>def team_ids(year):
names = team_names(year)<EOL>return {v: k for k, v in names.items()}<EOL>
Returns a mapping from team name to team ID for a given season. Inverse
    mapping of team_names. Example of a full team name: "New England Patriots"

    :year: The year of the season in question (as an int).
    :returns: A dictionary with full team name keys and teamID values.