python: how to get attribute of attribute of an object with getattr?,"getattr(getattr(myobject, 'id', None), 'number', None)"