Set host ID context on registration