Update text formatter to pad long id numbers

Resolves #83