A quantitative method for the attribution of medieval liturgical monody