Analyzing character development through reflections on identity