#589 - Provide hook to override category id