We would call this anaphora, a type of rhetoric in discourse.
Anaphora is the repetition of words at the beginning of clauses:
Part intimate diary, part prose poetry, part descriptive
Epistrophe is the opposite where there is repetition at the end of clauses:
When everybody talks during the lesson, The rebel does’ n say a word.
When nobody talks during the lesson
Anaphoric references are ideas which is referred from the beginning of the text:
‘I went out with Jo on Sunday. She looked awful.'
The proper noun 'Jo' is introduced at the beginning, before her appearance is described. We call these anaphoric references.
Cataphoric references are "phrases/ideas/people" which are referred later in the text, causing the reader to look back:
'When he arrived, John noticed that the door was open'.
In this case the pronoun 'he' is used at the beginning and the proper noun 'John' is used later. Also the fact that John noticing the door was open later, makes the reader look back to the subordinate clause (When "he" arrived). The cataphoric reference is used to show that they're not different people, but the same person.