some more work on building instance identifiers and hosts