common link function wrapper for field directives