Use std::string internally in UIDGenerator, move UUID_LENGTH into the class as a constant