Can text_field_with_auto_complete return ID?

I forked DHH's auto_complete plugin to add the record id to the id tag of the <li> element. There is an example in the README of how to use the id using :after_update_element. Check it out on GitHub at http://github.com/jmaziarz/auto_complete.