more helpful error message for ident comparison failure
fix for bug #9110
ident->name cleanup