added getattr examples to wiki