Zayd has the same syntactic role in «جَاءَنِي زَيْدٌ» and «رَأَيْتُ زَيْدًا».

The Rule of the Muʿrab: Visible and Estimated Case