Dynamical symmetries and Nambu mechanics