alter C++ unique_id functions to work in multiple cpp files (#7)