Update export.php

Added a pd['label'] as well as overload pageid so that projects like https://code.google.com/p/harstorage/ can take advantage of it