xdmp.collectionId( uri as String ) as (Number|String)
Return the ID of a collection specified by URI.
xdmp.collectionId("http://marklogic.com/xdmp/triggers") => 1434830478882802398