Assign property name by reference and put in a crude error msg if there is no primary field