Generating genome names for multiple-contig genomes, but taking contig names for single-contig ones