In the TV Rebus episode The Black Book, Rebus is warned by his boss lady that he has hung his coat (hat?) on a "googily peg," or "googly peg." Apparently it means he is flirting with danger. Charming expression. Where does it come from? Do I have the meaning correct?