What is the purpose of the implode comparison here? How can it be different from `$id1 === $id2`?