Change id generator to uuid.hex to fix some errors in Eclipse.