Generates an ID of the given length using lowercase latin letters and digits.
If the 'prefix' provided replaces the first generated characters with the prefix.
If the 'prefixToAvoid' provided, ensures the generated ID does not start with this prefix.
When both 'prefix' and 'prefixToAvoid' are provided, 'prefixToAvoid' must be longer than 'prefix'.
Generates an ID of the given
lengthusing lowercase latin letters and digits. If the 'prefix' provided replaces the first generated characters with the prefix. If the 'prefixToAvoid' provided, ensures the generated ID does not start with this prefix. When both 'prefix' and 'prefixToAvoid' are provided, 'prefixToAvoid' must be longer than 'prefix'.