Creates a variable from a given expression.