Honours recipients deemed to have posted 'offensive' comments online could be stripped of their awards, according to official guidance.