A name that used lacks, built from stem. The result is the stem when used lacks it, and
otherwise the stem followed by the smallest positive integer that gives an unused name, as
in S, S1, S2. The function does not change used, so a caller that needs several
names adds each result to the set before it asks for the next one.
A name that
usedlacks, built fromstem. The result is the stem whenusedlacks it, and otherwise the stem followed by the smallest positive integer that gives an unused name, as inS,S1,S2. The function does not changeused, so a caller that needs several names adds each result to the set before it asks for the next one.