wrote methods to find meme_id and text_id structures by comparing their respective name fields with an input string