In "The Importance of Being Earnest," Gwendolen loves Jack because she believes his name is "Ernest," which she considers to be the ideal name for a husband, signifying a level of respectability and confidence that she finds highly desirable; her love is primarily based on this superficial, almost obsessive fixation on the name rather than Jack's true identity.