IDB has an autoincrement mechanism, worth looking into Currently a default generator with a random value (eg. `crypto.randomUUID`) already does this job pretty well