Parse underscores in identifiers for format!

Closes #9119
auto merge of #9140 : alexcrichton/rust/issue-9119, r=huonw

Closes #9119