Store bookmarks based on model id. Closes #228