Improved gpf.attribute to encode aliases
Migration and documentation pass