Allocate an IMContext.
Implements ScimBridgeAgentProtected.
References ScimBridgeAgent::alloc(), and ScimBridgeAgentIMContext::get_id().