ID's are exposed in various places and used to generate resource URIs.
Because of that both slashes and backslashes must be stripped due to:
- encoded slashes (%2F) will cause 404 errors by default in Apache (e.g when used
as front-end proxy) unless AllowEncodedSlashes directive is set
- encoded slashes will cause 400 errors in Tomcat by default, unless
system property is set
- IDs are used as record filenames, and modern filesystes do not allow
slashes (POSIX, NTFS) or backslashes (NTFS) to be part of the filename
This method IS and MUST remain idempotent.