only query once for local host id on join

patch by dbrosius reviewed by jbellis for cassandra-7257