The first trick is having a bit of local knowledge. If (say) they're outside begging money "for food" at the same time as the local homeless shelter is serving a free dinner...yeah.