avoid selection loop
Display id when the name is not available.