How do I resolve a lookup ref to an id outside of a query in datascript? I'd have assumed it's something like the following
(d/entity db '[:unique/name foo])