'Apply the scaling factor.
Either a straight multiplicative factor or else a string to be eval\'d.'

def _scale(self, s):

    ns = transformer.Namespace(s.as_dict())
    scale = self.scale
    return ((eval(scale, {}, ns) if isinstance(scale, six.string_types) else (s.volume * scale)) if scale else s.volume)
