The New York State attorney general, Eric T. Schneiderman, says the illegal trafficking of prescription drugs is epidemic on Long Island. This week, he announced legislation that would create a database intended to slow the rate at which narcotics end up on the street.