removed the 2 generated documentation snippets
moved unique index-name check before the check of the id field to also fail on those on managed/advanced-mapping entities