I'll just tell you the reference
Ok so Rey is palpatine's granddaughter so she is Rey Palpatine but at the end of the movie some old woman on Tatooine asks who she is and she says "Rey" and the woman asks "Rey who?" And then Rey looks into the distance and sees Luke and Leia and says "Rey Skywalker"