Added named format variable support. Closes #9