caos.backends.pgsql: Cache name:id link mapping
caos.backends.pgsql: Cache name:id link mapping

Resolving internal link id on every link write is crazy.  Fetch the
mapping once per session instead.

edgedb/edgedb,edgedb/edgedb,edgedb/edgedb