Support lazy loading by ids with a transformer