title: Set id attribute in Symfony Form to twig variable
body: <p>I want to add a twig variable to my table row id in a form.</p>
  
  <pre><code>{% for child in form %}               
      {{ form_widget(child, {'id':'asterisks-rating-loop.index' }) }} 
  {% endfor %}
  </code></pre>
  
  <p>Currently it is not being parsed as a twig variable. Is there any way to set the id to 'asterisks-rating-'loop.index using this setup without the use of Javascript or jQuery?</p>
  
  <p>I tried 'escaping' it with:</p>
  
  <pre><code>{{ form_widget(child, {'id':'asterisks-rating-{{loop.index}}' }) }}
  {{ form_widget(child, {'id':'asterisks-rating-'{{loop.index}}'' }) }} 
  </code></pre>
  
  <p>But obviously none of these solutions work. </p>