The diagonalisation of the Lund fragmentation model I