'@param klass: in which class are you counted?  If default value of `None\', then self.__class__ will be used.'

def __init__(self, klass=None):

    if (klass is None):
        klass = self.__class__
    self._classname = klass.__name__
    NummedObj.objnums.inc(self._classname)
    self._objid = NummedObj.objnums[self._classname]
