Still, UUID is probably the simplest and most reliable way to generate such idempotency identifiers.