(#1369) - Added utils function to distinguish id errors