I don't know it this helps but on the E46 the m sport shocks have Sachs labels, standard do not. Part number will be printed on them too.

Springs will prob have different colour coding too. Usually there is a difference between 4cyl and 6cyl models . The latter having a heavier front end. A 520d set in your would probably mean a few more mm drop in the front