Minecraft wiki entry for Development_versions, associated text: Worlds with names already being used will now prepend a number in parentheses to the folder name instead of adding hyphens.
For example, New World (3) instead of New World---.