On certain identities with automorphisms on lie ideals in prime and semiprime rings