For major legislation, you can often find the bill or public law number through Wikipedia. For more authoritative and complete information, use the following resources.
1945 - 2020 (online)
1945 - 2018 (print)
Summarizes and analyzes the most important legislation taken up by Congress in each congressional session. Appendixes include vote studies, key votes, texts, listing of public laws, and roll call votes.