Using null for empty ident should be discouraged

Added EMPTY_IDENT variable that should be used if no
meaningfull ident value exist.