Add error on empty PartialNickname.

This message is easier to understand than `Cannot parse 'name:': Encountered "<EOF>" at line 1, column 5.`

Also make field final.