I'm going to suggest The Outcast, book one of the Tribe of One series set in the TSR Dark Sun universe.
Hawke's ``Tribe of One'' trilogy opens with the youth and early adventures of Sorak, who is part elf and part halfling; he possesses psionic (mind-reading) talent as well multiple personalities, the latter the result of early childhood trauma. Found abandoned in the desert, Sorak is raised by benevolent villichi, or psionic human priestesses, who have educated him in the responsible use of magic. Athas, his home, is a dying planet whose resources have been ruthlessly exploited by sorcerer-kings, but there is a belief that a savior is coming. Armed with two gifts from the priestesses--an ancient elvish sword called Galdra and the Wanderer's Journal, stocked with information on people and places--he leaves the villichi temple to learn about himself and his past. Sorak's quest becomes a search for the savior and takes him to Tyr, a city rife with political intrigue where one can contact the Veiled Alliance, a secret group opposed to the sorcerer-kings and who receive messages from the savior. Hawke ( The Reluctant Sorcerer ) more than intimates that Sorak himself is the long-awaited savior. His yarn offers fans of the fantasy genre some interesting themes to ponder.
From this review:
Sorak is certainly one of the most unique and interesting character I’ve ever read about in any of the D&D novels. The offspring of an Elf and a Halfling, he is abandoned and left to die in the desert when he is about 5-years-old. Hearing his psychic cries for help, a Pyreen – a Druid-like elder – hears his wails and helps him. She finds Sorak abandoned by all [but] a tigone, a psychic tiger cub that has bonded with him. Sensing his unusually powerful psychic powers, she bring him to a monastery run by the benevolent villichi, a sect generally reserved for women, and asks that they raise him. Sorak is taught to use his body and mind to their fullest potential.
Besides being an extremely powerful psychic and gifted weapons fighter, Sorak is a Tribe of One. Because of the trauma he faced as an infant, his mind has shattered into multiple personas. Each persona represents different aspects of Soark’s personality. One wields powerful psychic powers, one is a tracker and hunter, one is his curiosity, one loves animals, and one is his five senses. By the end of this book we’re introduced to at least ten distinct personalities sharing Sorak’s mind and body. Same have names and some are only identified by their purpose.
I remembered that there was a Ranma 1/2 fanfic that used this concept, which I vaguely remembered referred to as a "stained glass soul" to describe all of the personalities fitting together to make a whole. I eventually found it was Anand Rao's "A Stained Glass Mind", which mentions that "Tribe of One is owned by TSR." That led me to find the original book.