Sometimes it is desired that a person can establish a long-term relationship (such as a reputation) with some other entity, without necessarily disclosing personally identifying information to that entity.
Someone using a pseudonym would be strictly considered to be using "pseudonymity" not "anonymity", but sometimes the latter is used to refer to both (in general, a situation where the legal identity of the person is disguised) .