Molecular mechanisms regulating neural diversity