code: def getAnalystName(self):
          
          mtool = getToolByName(self, 'portal_membership')
          analyst = self.getAnalyst().strip()
          analyst_member = mtool.getMemberById(analyst)
          if analyst_member is not None:
              return analyst_member.getProperty('fullname')
          return analyst
docs: Returns the name of the currently assigned analyst