get the id from an event - to support both map and vector events
cljdoc is a website building & hosting documentation for Clojure/Script libraries