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