how can i return a default value for an attribute?,"a = getattr(myobject, 'id', None)"