Interesting and somewhat confusing, as you say.
Pepi II had a queen named Neith, whose pyramid contains some of the famed Pyramid Texts. This section of the Wikipedia article on the Pyramid Texts contains a short discussion on the similarities and differences of some of the texts in her pyramid:
[
en.wikipedia.org]
I was aware of it because of James Allen's fabulous "Writings from the Ancient World" (Allen, James Peter, and Peter Der Manuelian, eds. The ancient Egyptian pyramid texts. No. 23. Brill, 2005.) I treasure my copy.
-- Byrd
Moderator, Hall of Ma'at