def idSet(peer)
      @peersById.each do |e| 
        return if e.eql?(peer)
      end
      @peersById.pushToList(peer.trackerPeer.id, peer)
    end
def idSet(peer)
      @peersById.each do |e| 
        return if e.eql?(peer)
      end
      @peersById.pushToList(peer.trackerPeer.id, peer)
    end
Set the id for a peer. This peer, which previously had no id, has finished handshaking and now has an ID.