What distinguishes the two occurrences of أَحْمَدَ?

Restoring Declension: Indefinite Names, Al- and Iḍāfah