Is it a law that you must have ID on you? Carring a rifle with no ID don't sound like a good idea to me .IMO
It's not the law that you must have ID but it is foolish to do so. While you legally can't and shouldn't be arrested for it I would expect that cops wouldn't even give you the smallest benefit of the doubt if any situation does come up.