It's not a completely foolproof method, but if you need to identify a New Yorker by 'curse words', (sans characteristic accent) the sprinkling of Yiddish (schmuck, putz, etc.) in an unflattering rant is a clue.