fix #386 cuda 5.5+ bug

- TaskSetValue.hpp: add missing `&`
- add unique id for class which creates shared memory


*Test*
- [ ] LWFA cuda 6.0