In SavePrimitive(): make sure the vector names are all different (useful when saving multigraphs).