Do not duplicate id attributes

#57 introduced the `uid` attribute. When using it on select fields, we get duplicate ids. This fixes the issue.