Get bundle identifier from a bundle name (OS X): Safari => com.apple.Safari