Initialize an activeID to distinguish where to send msg.