For ENG-6702-2, refactor C++ UniqueId stuff into a helper class