Log every call to setId

See ticket #10312.
Merge pull request #370 from melissalinkert/setid-logging

Log every call to setId