I'm confused as to how you can have a textbox named "1st"

This is just a variable like any other, and so should be subject to the same naming rules.