I think she's a Selune worshipper who have been brainwashed to believe she's a shar follower so she can infiltrate the cult and do a crucial mission in baldur's gate. The key to her memory recovery is linked to when she meets the person she's supposed to kill.