FIX: `Ember.warn` needs an `id`

FIX: Ember.warn needs an id

This way errors can be customized/silenced in the console.

diff --git a/app/assets/javascripts/admin/mixins/setting-component.js.es6 b/app/assets/javascripts/admin/mixins/setting-component.js.es6
index a055276..444fe6a 100644
--- a/app/assets/javascripts/admin/mixins/setting-component.js.es6
+++ b/app/assets/javascripts/admin/mixins/setting-component.js.es6
@@ -101,7 +101,7 @@ export default Ember.Mixin.create({
 
   _save() {
     Ember.warn("You should define a `_save` method", {
-      id: "admin.mixins.setting-component"
+      id: "discourse.setting-component.missing-save"
     });
     return Ember.RSVP.resolve();
   },
diff --git a/app/assets/javascripts/discourse-common/lib/buffered-render.js.es6 b/app/assets/javascripts/discourse-common/lib/buffered-render.js.es6
index 7e23bd1..7c7b226 100644
--- a/app/assets/javascripts/discourse-common/lib/buffered-render.js.es6
+++ b/app/assets/javascripts/discourse-common/lib/buffered-render.js.es6
@@ -19,7 +19,9 @@ const Mixin = {
 
 export function bufferedRender(obj) {
   if (!obj.buildBuffer) {
-    Ember.warn("Missing `buildBuffer` method");
+    Ember.warn("Missing `buildBuffer` method", {
+      id: "discourse.buffered-render.missing-build-buffer"
+    });
     return obj;
   }
 
diff --git a/app/assets/javascripts/discourse/mixins/upload.js.es6 b/app/assets/javascripts/discourse/mixins/upload.js.es6
index cc48533..ca70caa 100644
--- a/app/assets/javascripts/discourse/mixins/upload.js.es6
+++ b/app/assets/javascripts/discourse/mixins/upload.js.es6
@@ -9,7 +9,9 @@ export default Ember.Mixin.create({
   uploadProgress: 0,
 
   uploadDone() {
-    Ember.warn("You should implement `uploadDone`");
+    Ember.warn("You should implement `uploadDone`", {
+      id: "discourse.upload.missing-upload-done"
+    });
   },
 
   validateUploadedFilesOptions() {
diff --git a/app/assets/javascripts/discourse/models/rest.js.es6 b/app/assets/javascripts/discourse/models/rest.js.es6
index 12bb295..bc78826c 100644
--- a/app/assets/javascripts/discourse/models/rest.js.es6
+++ b/app/assets/javascripts/discourse/models/rest.js.es6
@@ -24,7 +24,9 @@ const RestModel = Ember.Object.extend({
         const payload = self.__munge(res.payload || res.responseJson);
 
         if (payload.success === "OK") {
-          Ember.warn("An update call should return the updated attributes");
+          Ember.warn("An update call should return the updated attributes", {
+            id: "discourse.rest-model.update-attributes"
+          });
           res = props;
         }
 
@@ -97,7 +99,6 @@ RestModel.reopenClass({
     args = args || {};
     if (!args.store) {
       const container = Discourse.__container__;
-      // Ember.warn('Use `store.createRecord` to create records instead of `.create()`');
       args.store = container.lookup("service:store");
     }

GitHub sha: 16a7102d