Man attacks solicitor, bites custody officer in Ballarat courtroom