Ensure we have a valid html id for the gradients