to think wrongly that sb / sth is sb / sth else
mistake sb / sth for sb / sth
I think you must be mistaking me for someone else.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition