Allow me to expand.  Yes, those who act provocative and dress skimpy are asking for attention, which is why they dress and act this way....    

Around 5 billion years ago all life was female single cell organisms...all females.  This got to be quite boring as you might imagine, because all these female organisms were the same genetically.  About 1 billion years ago these female single cell organisms mutated and invented "male" organisms for the sole purpose of diversifying the gene pool.  The female single cell organisms didn't want to be single anymore.

Much like today.