Rename CaseNote's id getter
Rename caseId to id in code