TMDM-7945: "tMdmInput duplicate record with batch size"

Amend previously proposed implementation:
* Fix wacky detection of alias content (guessing aliased content on a name that can change is rather odd).
* No obvious reason for excluding SYSTEM storages from fix.
(https://jira.talendforge.org/browse/TMDM-7945)