joyce famously alluded to this concept when he referenced the transmigration of souls in ulysses ; many of his characters are avatars or metaphoric reincarnations of other figures ( historical , fictitious , mythic ) .