Between Laws and Models: Some Philosophical Morals of Lagrangian Mechanics