find out cenaId from entity object.