Created a dedicated UID Generator class, as I intend to use UIDs for various parts of the engine.