adds a name to the text input so that wrapping directives can control $dirtynes