title: How to add id attribute to Zend Framework form?
body: <p>I have simple class which extends Zend_Form with 2 elements:</p>
  
  <pre><code>class Application_Form_Player extends Zend_Form
  {
      public function init()
      {
          $this-&gt;addElement('text', 'firstName', array(
                  'label' =&gt; $this-&gt;getView()-&gt;translate('First name') . ' (' . $this-&gt;getView()-&gt;translate('imaginary') . ')',
                  'required' =&gt; true,
                  'filters' =&gt; array('StringTrim'),
                  'validators' =&gt; array(array('StringLength', false, array(1, 256)))
              )
          );
          $this-&gt;addElement('text', 'lastName', array(
                  'label' =&gt; $this-&gt;getView()-&gt;translate('Last name') . ' (' . $this-&gt;getView()-&gt;translate('imaginary') . ')',
                  'required' =&gt; true,
                  'filters' =&gt; array('StringTrim'),
                  'validators' =&gt; array(array('StringLength', false, array(1, 256)))
              )
          );
      }
  
  }
  </code></pre>
  
  <p>Is there a Zend_Form method that I can use to add "id" attribute to the HTML "dl" created by this class?</p>
  
  <p>This is resulting HTML dl to which I want to add id attribute:</p>
  
  <pre><code>&lt;dl class="zend_form"&gt;
  ...
  &lt;/dl&gt;
  </code></pre>