The market for lawyers and quality layers in legal services