entity provider with id type argument