Fill the editor ID field in in a smart way.