Check whether the external registry class name collides with one of the ...

...defined messages/enums.

Fail the generation with an explicit message rather than waiting for the Scala compiler to fail due to
duplicate class names.