Legal requirements and analysis of ID legislation and law enforcement aspects