When to use
Use when you need the same id for the same sequence in the same context object. SequenceIdFactory maps (context + sequence) to one id handle, so repeated calls with identical input return the same handle/id. After create(...), always call dispose() (or release(context, id)) when finished to prevent memory leaks.