code: def primary(self, repl_id):
          
          repl = self[repl_id]
          primary = repl.primary()
          return repl.member_info(repl.host2id(primary))
docs: find and return primary hostname
          Args:
              repl_id - replica set identity