Sentence 1: Do you take me for a fool?
Sentence 2: Looking at him as he came into the room, I took him for his father.
Multi-choice problem: Does take mean the same thing in these two sentences?

 (A). different meanings
 (B). the same meaning
(B).