Adds a method to the package model to retrieve the publication id

this is required by the patch I just sent to gray to implement the print view in aic_custom