Added custom inline documentaion and set_site_id

Added missing inline comment documentation for custom() and added the
set_site_id() function (needs to be called at the top of every page the
site id needs to be changed)