Compromise may be found over smacking ban