I'd try and talk to Specialized about the failure of the visor peg. Why did it happen? On the other hand, if it's normal wear and tear, exposure to ultraviolet light and so forth, a no-charge replacement might not be approved. If the helmet hasn't seen much of that in its 2-3 year life, as some have helmets haven't, maybe there's a problem with materials or production quality.
I use a cheap Bell Solar...it doesn't have a visor. Kind of wanted a helmet with a visor, but one reason I didn't get one is because it seemed to me that the whole arrangement of visor design and its means of attachment to the helmet...just simple holes drilled into the helmet shell...was weak. As it turns out, I don't need a visor anyway...the lip of the helmet edge mostly gives me enough protection from the sun's direct rays.
Re; the helmet shell's function: One of the really beneficial things a helmet shell with a smooth surface does is allow the helmet wearers head to slide away from the impacted surface rather than grab it, bringing everything to a sudden stop. I figure this has got to be better than hair and skull hitting the pavement, or one of the little cotton cycling caps between the head and pavement. Also, the best helmet shape minimizing twisting forces on the wearers anatomy is said to be the round shape, rather than any of those that have the elongated shape for style or aerodynamics.