This jokey term for a "stuck up" person may have a connection with an old word for nose - and thus with the saying that someone has their "nose in the air" - and with the word "nob" meaning a posh or rich person. See http://www.quinion.com/words/qa/qa-nib1.htm
for a fuller discussion.