Domain: cast ID to integer