hashCode for recordId