+ if ($args{'identifier'})
+ {
+ for (@{$args{'identifier'}})
+ {
+ my $identifier = $_;
+ my $ident_str;
+
+ if (ref ($identifier) ne 'HASH')
+ {
+ cluck ("The argument of the `identifier' "
+ . "option must be an array reference "
+ . "of hash references.");
+ return;
+ }
+
+ $ident_str = _create_identifier ($identifier);
+ if (!$ident_str)
+ {
+ return;
+ }
+ if ($ident_str =~ m/ /)
+ {
+ $ident_str =~ s#\\#\\\\#g;
+ $ident_str =~ s#"#\\"#g;
+ $ident_str = "\"$ident_str\"";
+ }
+
+ $msg .= " identifier=$ident_str";
+ }
+ }
+