Eliminate method name collisions in generated models. #3184.

This eliminates collisions where the picked name for a table reference
instance accessor would be the same as the name of another property.
Regenerate models to fix method collisions. Closes #3184.