Add a function for generating truly unique ids
produce an integer instead of a string, in case it matters