Part of #6993. Moved a bunch of uses of Ident to Name
auto merge of #17683 : gereeter/rust/ident-to-name, r=pcwalton

This does a large chunk of #6993. It is based on top of #17654.