The meaning depends on the circumstances. If you dreamed that you couldn't remember your own name or that of someone you know well, the dream is warning you against an illicit affair or a questionable deal that you would find difficult to justify. To be called by a wrong name in a dream portends grave difficulties on the personal side of life, but they will ultimately lead to better understanding.