A topic in research methodology
It is a common convention in reporting research to assign assumed names or pseudonyms to research participants (and often to people they talk about in the research) to use when writing up the study.
This is usually considered an important ethical safeguard, to prevent the identification of individuals who contributed to the research. Although anonymity is not always possible, and indeed not always desirable, the default assumption should be that research participants are wherever possible offered anonymity and assured that the data they provide will remain confidential.
"Student B was observed to…"
In some forms of research, generally those drawing upon paradigmatic commitments associated with positivistic and nomothetic positions (EPR1), participants may simply be denoted as ‘A’ or ‘teacher 4’ etc.
"Tajinder told me that…"
However, in interpretive and idiographic research (ERP2), where the importance of the individual subjectivity of different people is an important consideration, it is usually considered best practice to use authentic (but false) names to reflect the status of a participant as a unique and idiosyncratic person.
Even though this is a widely observed convention, it is appropriate to include a statement along the lines "assumed names have been assigned to maintain the anonymity of participants" to make this clear (both because honesty and full reporting are important in reporting research, and because it demonstrates an ethical stance is being observed).
My introduction to educational research:
Taber, K. S. (2013). Classroom-based Research and Evidence-based Practice: An introduction (2nd ed.). London: Sage.