mod_base: make controller_page:get_id/1 return undefined when no id is found

This fixes ACL issues where 'false' was passed in on ACL
checks. (e.g. with non-standard ACL modules like mod_acl_simple_roles).
(cherry picked from commit 2bbb0b7304f4ee8e6a725295307dbac0d050915c)