“..I have encountered cases of attached spirits changing a person’s gender identity....”
There’s nothing new under the sun when it comes to these so-called “spirits”. They’ve been around basically doing the same thing for centuries and throughout just about all facets of human culture.
Ashtereth, Astarte, Ashteroth, Ishtar, Artemis....many names, many cultures: same sexual, transgender spirit/demon.
It’s just that the decay of marital relationships, the lack of religion, and the destruction of moral values has made people more open to having an attachment in current times.