[python] Python: access class property from string