There might be some symbolic meaning behind it (something to do with identity, perhaps), as that's what I believe dreams fundamentally are, but it's definitely also a belief thing. If you think something will happen, it will.