BOSTON ( AP ) - A Goldman Sachs analyst on Thursday upgraded his sector rating for midsized brokerages , saying an expected resurgence of corporate mergers and acquisitions as well as initial public offerings should lift the firms .