Mesomorphic ionic hyperbranched polymers: effect of structural parameters on liquid-crystalline properties and on the formation of gold nanohybrids.