A python question
You can't reference a variable name in Python. The best solution would to make an array of objects, like @ANDREWVOSS wrote. The vars() function is used to get all class vars of an object into one dict (useful for debugging or referencing). If you want to make another object the same way as another, the vars() function might be useful.