Python Dynamically Add Attribute To Object