Allow a pluggable ID generator, so it's not dependent on the backend's auto-increment/auto-id functionality. Provide some sensible defaults, like a uuid generator, or stripe_based prefix generator, but also allow making a callout to a custom id generator (so you can generate IDs however you want).