added optional id to textfield