Neural and computational approach to understanding environmental modulation of behavioral identity in zebrafish