how attorneys get paid