Add class name to overwriting existing field warning message

I find it useful to locate where the warning comes from.
Merge pull request #3222 from nicolasleger/patch-1

Add class name to overwriting existing field warning message