Data-driven atomic environment prediction for binaries using the Mendeleev number: Part 1. Composition AB