Transformers, socket outlets and compact luminaires