change methods in term mention repo to take in vertex ids instead of vertices