Text this: Native law and the church in medieval Wales