Implement field access and name mangling

I only just realized that fields need to be handled differently
depending on whether they're used as lvalues or rvalues. I'll handle
that when we can actually assign things to them
It's not so much array accesses not working, but array stores not registering, but yeah, I'll fix it.