function idCompare(a, b) {
  return a.id === b.id;
}
Insert a rectangle into the collision checker.

@param {string} id Unique string ID for the rectangle being inserted.
@param {Rectangle} rectangle A Rectangle
@private