That's entirely correct. Bear in mind however that if damage is caused or you cause alarm, harassment or distress to the landowner it then becomes a criminal offence.
For a civil matter you can be asked to provide your name and address for a civil case to be heard; but no-one (including the police), has a power in law to demand your name and address.
Only if your words/behaviour etc is 'threatening or abusive or insulting or disorderly...' And in sight and or hearing of the victim.
Also a police officer can demand your name/address if they are going to report you for an offence, refusal to give these can result in arrest.....