'Sets an attribute value. Not using the __setattr__ directly for we
want to set attributes of the type \'a.b.c\' and using this function
class we set the same.'

def set(self, attr, val):

    self.__setattr__(attr, val)
