How to add a unique ID widget to a form?