changed name of entity state id getter/setter