[ADD] validations of context and ids in methods