Removed my own AtomicInt implementation from the shared pointer in favor of the
new atomic class in c++11.

Minor syntax change in id.h