'Return client name'

def get_name(self):

    if (self.given_name is None):
        if (self.hostname is None):
            name = _('Console')
        else:
            name = self.hostname
        client_id = ((self.id_['int_id'] + u'/') + self.id_['str_id'])
        name = ((name + u'    ') + client_id)
    else:
        name = ((self.given_name + u'/') + self.id_['str_id'])
    return name
