Text this: Coherence, reference and the Theory of Grammar