On the identifiability of dynamical networks