Use unscoped name for enums

Fixed a failing framework unit test in the ROOT6 branch.  ROOT stores enum names without scoping qualifiers, so unscoped names must be used to find enum members of classes.