cleaning up identifier mapping validation

i think this does contain a BC break if you have a document with an invalid repository class configured or configured a repository id strategy but no repository configured - this might have worked if you never persist the document.