Zaydu in “yā Zaydu” is a vocative in accusative position.

Al-Munādā: Vocative Types and Rules