I've used the prefix schm-- with hundreds of different words in the same context, Max. I grew up by and around New York, so it was a common way of ridiculing a word or idea...just add that prefix. Attitude/schmattitude!; anger/schmanger!; wonderful/schmunderful!...wherever it would fit comfortably as that type of device. And I add the exclamation point because, for me, it was always an expression of exclamation!!!

The whys and wherefores, the linguistic origins (Yiddish or otherwise) I never explored...though I always supposed it was Yiddish.