May be, you could check against globals() dictionary looking for matching id()'s:
def find_name(identifier):
for k,v in globals().items():
if id(v) == id(identifier):
return k
-- http://mail.python.org/mailman/listinfo/python-list
