Lens optimization is a valid concept, which is/was used by Kodak on their Full Frame digital cameras, the SLR/n, and 14n. These Nikon mount cameras use the "chip" that is in the lens to tell the camera what it was.
The Leica solution is just as valid as the Kodak solution was.
However, I am sure, just as the Kodak cameras had, the Leica will have a way to manually set the optimization for the lens in use. Probably thru a menu selection on the back, and from a database built into the firmware on the camera. While this will work just fine, it doesn't address the issues from using non-Leica brand lenses. Kodak had a database that included all popular brands of lenses available in Nikon mount, as well as "generic" optimization settings for lenses not listed in the database. The big question will be: Will Leica include lens optimization settings for non-Leica lenses, such as the new Zeiss lenses and the Voigtlander lenses? Perhaps there will be a way to input parameters for lenses not in the database?