Add an optional parameter prefix= which will prefix an also-specified group with a specified string. Also, maintain and produce separate lists of refs for each active prefix+group instead for each group.
example1: prefix=A group=lower-roman produces [Ai], [Aii], ...
example2: prefix=B group=lower-roman produces [Bi], [Bii], ...