Evolutionarily conserved and divergent functions for cell adhesion molecules in neural circuit assembly