Tailoring functionality through synthetic strategy in heterolanthanide assemblies