I know there are a lot of similar questions on Stack Overflow (this one, for example). But I want to determine the Apple device model number, not model name. It should be a stri