Simple heuristic to detect a container id