On a possible unified theory of ferroelectricity