Where were the three places a composer could earn a living in the Baroque era? How did the rise of the public concert hall influence music in late eighteenth and nineteenth centuries? Explain this in social terms and also include the role of the composer and performer, citing at least two specific examples.