http://stackoverflow.com/questions/7394301/python-how-to-make-dynamic-object-name

the answer here seems to work well.