[python] How can I generate a unique ID in Python?