adding opt.idAttribute for unique identifier items