The law should be changed to identify any judicial officers subject to substantiated complaints, critics say.