A dynamical system for classifying buoyant coastal discharges