Basic attribute bindings

Quickly threw this together, of course it could be much better...

I think we want some kind of method like TypeValue#createInstance(...)?
Would make this a lot easier