the role of a lawyer