Let R be a prime ring of characteristic different from 2,Z(R) its center,L a Lie ideal of R,and m,n,s,t ≥ 1 fixed integers with t ≤ m + n + s.Suppose that α is a non-trivial automorphism of R and let Φ(x,y) =[x,y]t-[x,y]m[α([x,y]),[x,y]]n[x,y]s.Thus,(a) if Φ(u,v) =0 for any u,v ∈ L,then L (∈) Z(R);(b) if Φ(u,v) ∈ Z(R) for any u,v ∈ L,then either L (∈) Z(R) or R satisfies 84,the standard identity of degree 4.We also extend the results to semiprime rings.