N-Substituted carbazole heterocycles and derivatives as multipurpose chemical species: at the interface of chemical engineering, polymer and materials science