Add id/singleton/messengerInstance examples closes #2.