Dynamic battery ID identification