Parse underscores in identifiers for format!

Closes #9119