pothos-gui: make newId algorithm produce cleaner ids