Generates a unique ID with the given prefix using crypto.randomUUID().
Uses the browser's cryptographically-secure random UUID generator to ensure truly unique IDs without module-level mutable state.
The prefix for the generated ID
A unique string ID (e.g., "maidr-gc-a1b2c3d4-...")
Generates a unique ID with the given prefix using crypto.randomUUID().
Uses the browser's cryptographically-secure random UUID generator to ensure truly unique IDs without module-level mutable state.