From ibī + -dem (new interpreted particle from īdem).
Practice speaking and memorizing "ibidem" and many other words and sentences in Latin.