Escape slashes in vertex IDs