switched to new next-row-id-function from num-gen.c