fix joint and link acces on __getattr__

When trying to acces a joint and his paramaters throught