fix #386 cuda 5.5+ bug

- TaskSetValue.hpp: add missing `&`
- add unique id for class which creates shared memory

:warning: **Affects** `master`, too. :warning:

*Test*
- [x] LWFA cuda 6.0
- [x] LWFA cuda 5.5