update id creation for div container according chosen 1.0

Hi, 

I modified the way to create de div (containing list value)  id. 
According chosen plugin 1.0 : 
* You need to remplace - chars by _ chars
* You need to create an id if it doesn't exist

Help to improve your nice plugin for images.

Yassine.