with gate electrode comprising a layer which is used for its ferroelectric memory properties