Fixed: Avoid variables with short names like $id.