with hash for uuid->id