General version of standard basis and its application to T-idealстатья