CONTRIBUTING: Add method for finding package ids.

Follow up from discussion in https://github.com/phinze/homebrew-cask/pull/2443#issuecomment-32591382.