Intresting .. didn't realize there was such a dijit. Usually I set my map.attribution: false because my current client is not interested in seeing this information for an internal web editing tool. But I see it's use now. Aside from map.attribution property, there is also an attribution property for the layers so you can control the layers that will actually show attribution .. the default is true (I believe). If you find an example let me know...
Thanks - although on the sample given I can't see any reference - there isn't a "require" part. from the API notes I thought you'd need a "dojo.require("esri.dijit.Attribution");" then create it with
var attribution = new esri.dijit.Attribution({ map: map
}, "attributionDiv");
And then, have a div somewhere with that ID.
So, even more confused now.
Also, is it clever enough, if two layers have the same attribution not to repeat itself?