allow "-global" switch to apply trait to all attributes defined within a package