publishNameRemoval = (id, petName) => {
      nameChangesTopic.publisher.next({ remove: petName });
      if (id !== undefined) {
        publishIdChangeToSubscribers(id, {
          remove: parseId(id),
          names: [petName],
        });
      }
    }
@param {string} id - The id from which a name is being removed.
@param {string} petName - The removed name.