Makes for more strongly-typed identifiers (and doesn't pollute surrounding namespaces)
Also moves the host config checks to common.