set entity ID