Access objects' (Python) members with object.name