pronoun, genitive/locative singular + api
Analysis. mayhaṃ + api: mayhaṃ is the genitive singular 'of me' or locative 'to/for me' (strengthened form of mayha); api is 'even, also', here adding emphasis: 'even of me' or 'to me too'.
Etymology. ahaṃ is an ancient first-person pronoun, cognate with Sanskrit aham, Greek ego, Latin ego, English 'I'. The oblique stem may- derives from a zero-grade of the same root. The particle api (from *apd- 'to, toward') adds emphatic force; compare Sanskrit api.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version