Quote attribute range to avoid unwanted superscript.
Register some body types explicity.

Either they share name with other types, or have names that are too
ambiguous.
Some refactoring.
Explicitly link to body types if found.

Registering body types automatically would be tricky, but only ambiguous
keywords seem to be "common" and "classes", covered by explicitly registering
in reference mapping.