title: How can I use loop index in an attribute?
body: <p>I'm new to Vue, and can't achieve quite a simple thing. I want to be able to use the loop index to set a unique name for an attribute. For example, I want to set the ID attribute to something like this: id="somename{{index}}", but that gives an interpolation inside attributes error. </p>
  
  <pre><code>&lt;div v-for="(dt, index) in driveTrain" &gt;
      &lt;input type="radio" id="driveTrain-{{index}}" &gt;
      &lt;label for="driveTrain-{{index}}"&gt;{{dt}}&lt;/label&gt;
  &lt;/div&gt;
  </code></pre>