Return the model name of the Macintosh.
OSX: Get the computer identifier as reported by open firmware. In the
OSX Psychtoolbox that is provided in the struct returned by
Screen(‘Computer’). Convert that identifier to Apple’s marketing
name for the computer. To do that we use the mapping of identifier to
product names found in:
There is no official Apple-recommended way to uncover the marketing
name. However, this method works and should be reasonably robust.