Add brackets around exponent when the exponent is not an `Integer` or a `Symbol`