Random Riddle

A pearl.
Hold your mouse over for the answer.
My host thinks I’m an irritation, a bother, a pain.
But he can’t evict me, so I stay, remain.
Then one day I’m taken and ranked among my peers.
Can you guess just what I am? Then you might call me dear.