CaseId implementation