hook for identity transformers