Ministers have been told any imminent national insurance hikes must be fully funded for both schools and colleges.