ID to compare with database in templates