'Add a member name to the class dict *clsdict* containing the value of
this member object. Where the name of this object is None, do
nothing; this allows out-of-band values to be defined without adding
a name to the class dict.'

def register_name(self, clsdict):

    if (self.name is None):
        return
    clsdict[self.name] = self.value
