title: Vue.js: How to set a unique ID for each component instance?
body: <p>I want to create a component with Vue.js containing a <code>label</code> and an <code>input</code>. For example :</p>
  <pre class="lang-html prettyprint-override"><code>&lt;label for=&quot;inputId&quot;&gt;Label text&lt;/label&gt;
  &lt;input id=&quot;inputId&quot; type=&quot;text&quot; /&gt;
  </code></pre>
  <p>How can I set a unique ID for each component instance?</p>