Hopefully a performance optimizations ...

Retrieves first the id of a url and inserts the page only if missing, id
can also be used for relation/link