Text this: Legal foundations of tribunals in nineteenth-century England