Python Get Attribute By String Instruments