Some tidying up in pre.php
Ignore ID field if it's null
Return ID from album insert