code: def get_pd_by_id(self, id):
          
          for pd in self.conn.protection_domains:
              if pd.id == id:
                  return pd
          raise KeyError("Protection Domain with ID " + id + " not found")
docs: Get ScaleIO ProtectionDomain object by its id
          :param name: ID of ProtectionDomain
          :return: ScaleIO ProctectionDomain object
          :raise KeyError: No ProtectionDomain with specified name found
          :rtype: ProtectionDomain object