Building a Module
I’m building a new module and after a lot of searching for the built in standard text field (body if you like) I found a link to the Drupal API http://api.drupal.org/api/drupal/modules–field–modules–text–text.module/7/source which shows all the stuff you need.