If your identifier has a slash it won't work as tonics internal parsing will think it is a valid slash from the path regardless if the / was escaped in the url.
Probably depends on your config as $_SERVER['REDIRECT_URL'] returns the url urldecoded while $_SERVER['REQUEST_URI'] does not.
The error will then also be that the resource was not found because of the additional slash it will never match any @uri annotation.