Fixed #13711 -- Model check added to ensure that auto-generated field name is within limits of the database.

...ion.
please rebase and wrap at 80 chars. should be the actual error string like the other messages here.