This tutorial describes how you can fix iCloud problems that are due to your Mac missing its serial number in OS X.
It describes how to fix the issue that causes the following error message to appear: "This Mac can't connect to iCloud because of a problem with [your iCloud email-adress]. Open iCloud preferences to fix this problem."