Please use `OpenLayers.Util.createUniqueID()` here.