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

...ion.
I don't see why this applies to DBs with `supports_long_model_names`? For one thing, long model names is different from long column names. Can you explain?