Shaping of adaptive immunity by innate interactions