added defaultName option for the name plugin