set attribute

def SetProp(self, prop, value, score=None):
        """
		set attribute
		"""
        if score:
            self.scores[prop] = value
        else:
            if prop == 'id':
                self.id = value
            elif prop == 'status':
                self.status = value
            elif prop == 'bm':
                self.bm = format(value)
            elif prop == 'graph':
                self.graph = format(value)
            else:
                self.properties[prop] = value