MDL-35009 Libraries: Deprecated get_context_instance_by_id