added legacyAutnum to AutnumAttributeGenerator