Get the id of an IMContext. This function should return -1 if it's not been registered to the agent.
References scim_bridge_client_imcontext_get_id().
Referenced by scim_bridge_client_imcontext_get_id().