Interdependence between neuroendocrine programming and the generation of immune recognition in ontogeny