You can have a field with some value that just happens to match the id in a different table. That something could be a foreign key or just a number.