Text this: Layered Structure and Reference in a Functional Perspective :