Python Get Object Attribute By String