title: Add a different ID to each li element by jQuery
body: <p>I'm new here and I'd like to ask a question about jQuery.</p>
  
  <p>I have the unordered list like:</p>
  
  <pre><code>&lt;ul id="pages"&gt;
      &lt;li class="something"&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li class="something"&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li class="something"&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>And I'd like to add a different ID to every li displayed in this <code>&lt;ul&gt;</code> (eg. <code>&lt;li class="something" id="li1"&gt;...</code>). Is there a way how to achieve this via jQuery?</p>
  
  <p>Thanks a lot, Jakub</p>