Implement sequenceNameGen, making a lot more work