I found a map svg, that was practically ready to be launched. I just thought it would be cool to keep on my computer for when I didn't knew any more maps to make. Because of the large number of territories I tried Matma Rex's ID-generator tool. But it didn't work because all territories already had an ID (they were all named polygon_#). I guess that's because they were polygons first, until I transferred them to paths. But is there a way to remove all ID's so Matma's tool can work on it?
If I understood it right, you have a lot of objects with IDs of **polygon_#** and you want to remove those IDs to be able to give them proper IDs of **Territory_#**. If it's true, just open SVG file with your favorite text editor and use "replace all" (or any similar function) to replace all **polygon_** in a file by **Territory_**, and you wouldn't even need to use the generator.
I guess you did it with something like Notepad and accidentally saved your file as *filename***.txt**. Try to manually rename it to *filename***.svg**.