attribute lookup for related resources aswell