The main section is in the Land Transport Act which says at section 114
114 Power to require driver to stop and give name and address, etc
An enforcement officer who is in uniform, or wearing a distinctive cap, hat, or helmet, with a badge of authority affixed to it, may signal or request the driver of a vehicle to stop the vehicle as soon as is practicable.
An enforcement officer in a vehicle following another vehicle may, by displaying flashing blue, or blue and red, lights or sounding a siren, require the driver of the other vehicle to stop.
Subject to subsections (4) and (5), the driver of a vehicle that is stopped by an enforcement officer under this Act must remain stopped for as long as is reasonably necessary for the enforcement officer to complete the exercise of any powers conferred, or duties imposed, on an enforcement officer by this Act.
An enforcement officer may require the driver of a vehicle that is stopped under this Act to—
remain stopped for as long as is reasonably necessary for an enforcement officer to obtain the particulars referred to in paragraph (b), or to complete the exercise of any other power conferred on an enforcement officer by this Act; and
on demand by an enforcement officer,—
give his or her full name, full address, date of birth, occupation, and telephone number, or such of those particulars as the enforcement officer may specify; and
state whether or not he or she is the owner of the vehicle; and
if the driver is not the owner of the vehicle, give the name and address of the owner or such particulars within the driver’s knowledge as may lead to the identification of the owner.
The driver of a vehicle that is stopped under subsection (2) is not obliged to remain stopped if the vehicle with flashing lights and siren does not itself stop in the near vicinity of the place where the driver has stopped.
An enforcement officer may require a driver to remain stopped on a road for as long as is reasonably necessary to enable the officer to establish the identity of the driver, but not for longer than 15 minutes if the requirement to remain stopped is made under this subsection only.
An enforcement officer may arrest a person without warrant if the officer has good cause to suspect the person of having—
failed to comply with this section or a signal or request or requirement under this section; or
given false or misleading information under this section.