Metallo-polyelectrolytes as a class of ionic macromolecules for functional materials