bash completion: complete IDs and labels