avoid producing variable names with double underscores

Could happen with for example mutable uniforms that were starting with
an underscore name.