It might not be a good idea to use the name "id" since that is a Python builtin. Also, what is this used for?