A bard by any other name: For years academics have battled over attempts to settle questions of authorship. Now there’s a new way of analysing writing styles, say Robert Matthews and Tom Merriam Features