A key concept in reference is that of an anaphor.
anaphora: The explication of a word by words appearing previous to it in the text: Mary died. She was very old. (She is explained by Mary.) (Macquarie Dictionary)