implement lookup by ID in generic lists