Ability to use ids with the selected items.

Added the ability to assign an id for each item and retrieve the ids of the selected items. this comes handy if two or more items can have the same value but are completely different, the id would help identify each.