Bugfix.

A value of `None` in a text field was being renderered as the string
`None`.
Fix problem with text field id.