use mac as host_id only if no id in config