title: jQuery.ui autocomplete - extra information
body: <p>I have a tagging plugin similar to that of SO.</p>
  
  <p>I use jQuery.ui's autocomplete to power the suggestions.</p>
  
  <p>The user can either manually type in a tagname, or can click it once it shows in the list.</p>
  
  <p>Either way,</p>
  
  <p>When the tag is created it is added to an array that looks like</p>
  
  <p><code>[{id: 0, name:mytag},{id: 6, name:clickedtag},{id: 0, name:mytag2}]</code> </p>
  
  <p>So its an array of object literals.</p>
  
  <p>If the tag came from the autocomplete I want the ID to be passed through.</p>
  
  <p>else 0.</p>
  
  <p>My question is.
  How can I pass extra information such as an ID through to the autocomplete?</p>