use uuids for guid generation
Merge pull request #4883 from MrZYX/uuid

Use uuids for guid generation