Bring back the ifs; defaults to pid to avoid empty label