Index: trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java	(revision 8962)
+++ trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java	(revision 8963)
@@ -262,5 +262,7 @@
                     final String name = DefaultNameFormatter.getInstance().format((Way) value);
                     // get rid of id from DefaultNameFormatter.decorateNameWithId()
-                    final String nameWithoutId = name.replaceAll(" \\[id: -?\\d+\\]$", "");
+                    final String nameWithoutId = name
+                            .replace(tr(" [id: {0}]", ((Way) value).getId()), "")
+                            .replace(tr(" [id: {0}]", ((Way) value).getUniqueId()), "");
                     ((JLabel) c).setText(tr("Segment {0}: {1}", index + 1, nameWithoutId));
                     return c;
