Replacing colons on any host prefix in getPublicID.