Convert has-not to function

Call find-by-id with integer argument for tinkergraph