move DiscId to deprecated.py, use DeprecationWarning