Add an identifier to TypeParameterDefs and use it to pretty print type parameters
auto merge of #7698 : nikomatsakis/rust/issue-2951-type-parameter-names, r=cmr

Fixes #2951