Forum:Remembering/Forgetting

How do you know if something will remember how it was summoned? For example, using book of eclipse to flip it face down and then face up again vs using dimension gate to banish it and then special summon it. In these cases, do semi nomis remember that they were first summoned properly? Also, can you use dimension gate on a monster that your opponent owns but you control (using creature swap, enemy controller, rebellion, brain control, mind control, etc.)?