WriteAttribute needs to exist on the ViewBase

Without this, we can't use attributes in our views. Adding the attribute to the test cshtml files shows this, I think the implementation is right but not 100% certain, seems to work though