Affine q-deformed symmetry and the classical Yang-Baxter σ-model