Fixed broken name generator (broken by recent switch from sequences to vectors for perf reasons)