Default handling of name conflicts when generating classes

Whenever there is an identifier conflict when generating classes a new
name is generated by appending the field number. This is done
repeatedly until there is no conflict.

R=sigmund@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//40343003