Fixed broken Entity::getEntityTypeID() API.