What is the syntactic role of the attached «ي» in جَاءَنِي?

Al-Murakkabāt — Compound Numerals, the Twelve Exception and Declining Baalbek