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

...ion.
This pattern isn't used elsewhere in the test suite though. Is it really the first time we have a situation like this?