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