(UUID) Improve hash function

We currently rely on std::hash<std::string>.