The garment has long been an indicator of people’s views about innocence and sexuality.