Fix EZP-21227: copy content type generates wrong identifier

https://jira.ez.no/browse/EZP-21227

Quite easy. My main concern is that the error may very well in the REST specs, since the involved code is part of the Legacy ContentType handler.

Note: no tests updates, waiting for Travis to list the errors.