title: Add id to field with ui:field declaration
body: <p>I'm trying to declare these elements in my UiBinder XML:</p>
  
  <pre><code>&lt;label for="lastName"&gt;Last Name:&lt;/label&gt;
  &lt;input type="text" id="lastName" ui:field="lastNameField" maxlength="150" /&gt;
  </code></pre>
  
  <p>Simply put, a label that is associated with a text input. </p>
  
  <p>When I try to compile, however, I get this error:</p>
  
  <blockquote>
    <p>[ERROR] Cannot declare id="lastName" and ui:field="lastNameField" on the same element Element  (:23)</p>
  </blockquote>
  
  <p>This seems like an idiotic restriction, especially since <code>ui:field</code> doesn't generate an ID. The only solution I've found so far is to assign the ID in the Java code itself like this:</p>
  
  <pre><code>@UiElement InputElement lastNameField;
  ...
  lastNameField.setId("lastName");
  </code></pre>
  
  <p>This adds needless clutter to my Java. It also adds the complication that if this ID gets updated somewhere down the line, the <code>&lt;label&gt;</code> declaration in the XML will also need to be updated (and there's no @UiElement for the label, so it's pretty much completely invisible from the Java side.)</p>
  
  <p><strong>Is there a way to add an ID to an element with a ui:field declaration from within the UiBinder XML itself?</strong></p>