Add retrieve id functionality by getter for @IdIn.