code: def get_name(self):
          
          if self.given_name is None:
              # Name according to host
              if self.hostname is None:
                  name = _("Console")
              else:
                  name = self.hostname
              # Adding id to name
              client_id = self.id_['int_id'] + u'/' + self.id_['str_id']
              name = name + u' ' + client_id
          elif self.given_name in ["Pylab", "SymPy", "Cython"]:
              client_id = self.id_['int_id'] + u'/' + self.id_['str_id']
              name = self.given_name + u' ' + client_id
          else:
              name = self.given_name + u'/' + self.id_['str_id']
          return name
docs: Return client name