How do you distinguish accusative accompaniment from a direct object?

Al-Mafʿūl Maʿahu: Accompaniment and Coordination