Risk and regulation in the changing legal sector