THRIFT-2651: struct names that are restricted erlang terms generate invalid type signatures

patch: alisdairsullivan@yahoo.ca
client: erlang

fixes error exposed in THRIFT-2647 by avoiding using restricted identifiers in erlang type signatures generated by the compiler