My task is to create a field that is visible to the author node.
Let's say the content type is "article" and the field is "textid" that contains the node ID number.
I've already created it with Display suite as a custom field with token [node:nid], so the result is some text with number of the node ID.
How can I make that field visible only by the node author?
What hook should I use?