Added fromUint64 for preallocated ids.