A 
ClassName production when used in
a 
ClassAtomEquivalence production is not valid if the value
returned by 
traits_inst.lookup_collatename for that name is an
empty string or if the value returned by 
traits_inst.transform_primary
for the result of the call to 
traits_inst.lookup_collatename
is an empty string
.