I'd say the mechanism is the same, with superficial differences. What I found most annoying however is the inmediate seriousness that takes over both characters (ObiWan and Yoda) the exact moment their identities are revealed.
Too much sensei atmosphere can make a great master out of anything... but it's my perception of course.