Pkg API for getting UUID of another package

julia> using Pkg

julia> Pkg.METADATA_compatible_uuid("Distributions")
UUID("31c24e10-a181-5473-b8eb-7969acd0382f")

(note that I think this is just temporary until METADATA is a thing of the past)