Fixes #5.

Derived from ID is now being recorded. Also worked out why development environment had super slow PHP generation (see change to config_mysqlConnection.php).