PrincipalReference constructor
Implementation
PrincipalReference({this.id, this.isTypeStance=false}) {
if (this.isTypeStance==true && this.id != null) {
throw Exception('if isTypeStance == true then that means that we dont know if this is an opaque reference or not yet.');
}
}