Refactoring instance id_map variable naming.