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

...ion.
Needs further investigation, I think. For example, what's `f.m2m_column_name()`.

What about checking the other M2M column?