entityutil get by entity class and id