My mom uses the expression in a complimentary way. I'd assumed the source was Shakespeare, but Bartlett's attributes the origin to Rabbie Burns:

His locked, lettered, braw brass collar
Showed him the gentleman and scholar.



http://www.bartleby.com/100/315.17.html