Mechanisms of fate determination in the nervous system