Application of automatic marking of modular electrical components