Add affiliation class to fix affiliation naming.

Affiliations should be stored with spaces but internally we want to
reference them with underscores.