Stav dette: A history of the sonata idea